package cn.itsource.pethome.org.service;

import cn.itsource.pethome.basic.service.IBaseService;
import cn.itsource.pethome.org.domain.Department;
import cn.itsource.pethome.org.query.DeparmentQuery;
import cn.itsource.pethome.basic.util.PageInfo;

import java.util.List;

public interface IDepartmentService extends IBaseService<Department>{


    /**
     * 查询出所有的而部门信息 包括连的表
     * @return
     */
    PageInfo<Department> findPageByQuery(DeparmentQuery deparmentQuery);


    /**
     * 查询部门树
     * @return
     */
    List<Department> findDepartmentTree();



}
